home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / fontutil.6 / fontutil / fontutils-0.6 / limn / fit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-27  |  1.7 KB  |  53 lines

  1. /* fit.h: convert the pixel representation to splines.
  2.  
  3. Copyright (C) 1992 Free Software Foundation, Inc.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. #ifndef FIT_H
  20. #define FIT_H
  21.  
  22. #include "pxl-outline.h"
  23. #include "spline.h"
  24.  
  25.  
  26. /* See fit.c for descriptions of these variables, all of which can be
  27.    set using options.  */
  28. extern real align_threshold;
  29. extern real corner_always_threshold;
  30. extern unsigned corner_surround;
  31. extern real corner_threshold;
  32. extern real error_threshold;
  33. extern unsigned filter_alternative_surround;
  34. extern real filter_epsilon;
  35. extern unsigned filter_iteration_count;
  36. extern real filter_percent;
  37. extern unsigned filter_surround;
  38. extern boolean keep_knees;
  39. extern real line_reversion_threshold;
  40. extern real line_threshold;
  41. extern real reparameterize_improvement;
  42. extern real reparameterize_threshold;
  43. extern real subdivide_search;
  44. extern unsigned subdivide_surround;
  45. extern real subdivide_threshold;
  46. extern unsigned tangent_surround;
  47.  
  48.  
  49. /* Fit splines and lines to LIST.  */
  50. extern spline_list_array_type fitted_splines (pixel_outline_list_type list);
  51.  
  52. #endif /* not FIT_H */
  53.